<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="text/javascript">
$(function(){	
	//导航切换
	$(".menuson li").click(function(){
		$(".menuson li.active").removeClass("active")
		$(this).addClass("active");
	});
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if($ul.is(':visible')){
			$(this).next('ul').slideUp();
		}else{
			$(this).next('ul').slideDown();
		}
	});
})	
</script>


</head>

<body style="background:#f0f9fd;">
	<div class="lefttop"><span></span>快捷操作</div>
    
    <dl class="leftmenu">
    
         
    <dd>
    <div class="title">
    <span><img src="${ctx}/images/leftico01.png" /></span>个人帐户
    </div>
    	<ul class="menuson">
        <li class="active"><cite></cite><a href="${ctx}/account/main" target="rightFrame">个人帐户</a><i></i></li>
        </ul>    
    </dd>
    
    
        
    <dd>
    <div class="title">
    <span><img src="${ctx}/images/leftico01.png" /></span>中奖记录
    </div>
    	<ul class="menuson">
       
         <li><cite></cite><a href="../lkrecord" target="rightFrame">中奖记录</a><i></i></li>
        </ul>    
    </dd>
    
     <c:if test= "${1 ne  user.userLevel}">
      
     <dd>
    <div class="title">
    <span><img src="${ctx}/images/leftico01.png" /></span>活动管理
    </div>
    	<ul class="menuson">
    	
        <li><cite></cite><a href="${ctx}/activity" target="rightFrame">活动查询</a><i></i></li>
         <li><cite></cite><a href="${ctx}/prize" target="rightFrame">活动奖品</a><i></i></li>
         <li><cite></cite><a href="${ctx}/actlevel" target="rightFrame">奖品组列</a><i></i></li>
         <li ><cite></cite><a href="${ctx}/leprize" target="rightFrame">组内奖品</a><i></i></li>
         <li><cite></cite><a href="${ctx}/luckuser" target="rightFrame">抽奖会员</a><i></i></li>
         
        </ul>    
    </dd>
    
    
    
     <dd>
    <div class="title">
    <span><img src="${ctx}/images/leftico01.png" /></span>系统管理
    </div>
    	<ul class="menuson">
    	
        <li><cite></cite><a href="${ctx}/message" target="rightFrame">公告管理</a><i></i></li>
         <li><cite></cite><a href="${ctx}/system" target="rightFrame">游戏配置</a><i></i></li>
         
        </ul>    
    </dd>
    
    </c:if>
        
     <c:if test= "${8 eq  user.userLevel}">
    <dd>
    <div class="title">
    <span><img src="${ctx}/images/leftico02.png" /></span>用户管理
    </div>
    <ul class="menuson">
        <li><cite></cite><a href="${ctx}/user" target="rightFrame">用户管理</a><i></i></li>
        </ul>     
    </dd> 
    </c:if>
    <!-- <dd>
    <div class="title">
    <span><img src="../images/leftico02.png" /></span>公司管理
    </div>
    <ul class="menuson">
        <li><cite></cite><a href="../company" target="rightFrame">公司管理</a><i></i></li>
        </ul>     
    </dd> 
     -->
    
    </dl>
    
</body>
</html>